https://shkola.obozrevatel.com/ukr/gdz/10klass/informatika/1139/27199/560914/
задание 8